package com.whately.core.base.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

public class RecorderOperateEvent extends ApplicationEvent {

    //注册对象
    @Getter
    private RecorderOperateBean bean;

    /**
     * 重写构造函数
     *
     * @param source 发生事件的对象
     * @param bean   注册用户对象
     */
    public RecorderOperateEvent(Object source, RecorderOperateBean bean) {
        super(source);
        this.bean = bean;
    }
}
